<%--
  Created by IntelliJ IDEA.
  User: XiaoFan
  Date: 2021/7/7 0007
  Time: 9:59
  To change this template use File | Settings | File Templates.
--%>
<%@ page isErrorPage="false" isELIgnored="false" contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <meta charset="UTF-8">
    <title>学生考勤登记</title>
    <link rel='stylesheet' href='/examine/css/Login2.css'>
    <base href ="http://localhost:9090/examine/">

    <script src="/js/jquery-1.10.2.js"></script>



</head>
<style>
    .Content-Main{
        max-width: 500px;
        margin: auto;
        border: none;
        border-radius: 5px;
        -moz-border-radius: 5px;
        -webkit-border-radius: 5px;
        font: 12px "Helvetica Neue", Helvetica, Arial, sans-serif;
        text-shadow: 1px 1px 1px #444;
        color: #D3D3D3;
        /*这里修改背景颜色*/
        background: #708090;
    }
    .Content-Main h1{
        padding: 8px 0px 40px 10px;
        display: block;
        border-bottom: 1px solid #444;
        text-align: center;
        color: #fff;
        text-shadow:0 0 10px;
        letter-spacing: 1px;
        text-align: center;
    }
    .text1{
        margin-left: 3px;
    }
    .Content-Main label{
        margin: 0px 0px 5px;
        display: block;
    }

    .fileInput{
        height: 106px;
        border: none;
        font-size: 300px;
        opacity: 0;
        filter:alpha(opacity=0);
        cursor: pointer;
        position: absolute;
    }
    .Content-Main label>span{
        width: 20%;
        float: left;
        text-align: right;
        padding-right: 10px;
        margin-top: 10px;
        font-weight: bold;
    }
    .Main-sex{
        padding-right: 13px;
        padding-bottom: 13px;
        font-weight: bold;
        line-height: 4px;
    }
    .Main-sex input[type=checkbox]{
        margin-top:6px;
        vertical-align:middle;
    }
    .Content-Main input[type="text"],.Content-Main input[type="email"],.Content-Main textarea{
        height: 25px;
        width: 70%;
        line-height: 15px;
        padding: 5px 0px 5px 5px;
        margin-bottom: 16px;
        margin-right: 6px;
        margin-top: 2px;
        border: none;
        border-radius:2px;
        -webkit-border-radius:2px;
        -moz-border-radius:2px;
        outline: 0 none;

        /*background:  #DFDFDF; 文本框背景颜色*/
        color: #525252;
    }
    .Content-Main textarea{
        height: 100px;
        width: 70%;
        padding: 5px 0px 0px 5px;
    }
    .Content-Main .button{
        padding: 8px 24px 8px 24px;
        margin-bottom: 8px;
        border: none;
        border-radius: 4px;
        -moz-border-radius: 4px;
        -webkit-border-radius: 4px;
        font-weight: bold;
        text-shadow: 1px 1px 1px #FFE477;
        box-shadow: 1px 1px 1px  #3D3D3D;
        -moz-box-shadow: 1px 1px 1px  #3D3D3D;
        -webkit-box-shadow: 1px 1px 1px  #3D3D3D;
        color: #585858;
        background: #f6ff0a;
    }

    /*自行*/
    .Content-Main .button:hover{
        color:  #333;
        background-color:  #EBEBEB ;
    }

    .Content-Main{
        margin: 150px auto;
    }
    #labbut{
        margin: 0px 0px 0px 210px;
    }
</style>
<body style="background-color: 	#F5F5DC;">
<div class="Content-Main">
    <form  action="/examine/yuezuoyei/fan6" method="post" class="form-userInfo">
        <h1>若失了昨日则勿失今</h1>
        <span class="text1"></span>
        <p>
            <label>
                <span>学生ID</span>
                <input type="text"  name="nid" readonly="true" value="${idu}">
            </label>

            <label>
                <span>学生姓名</span>
                <input type="text"  name="nname" readonly="true" value="${uname}">
            </label>

            <label>
                <span>时间</span>
                <input type="text" id="time" name="date" readonly="true" style="margin: 0px 0px 10px 0px">
            </label>

            <label>
                <span>学生班级</span>
                <input type="text" name="cls" readonly="true" value="${bj}">
            </label>
            <label>
                <span>原因</span>
                <textarea id="message" name="message" placeholder="必填" required></textarea>
            </label>

            <label id="labbut">
                <a>
                    <%--             <input type="submit" class="button" value="提交">--%>
                    <button type="submit" class="button" >提交</button>
                </a>
            </label>
    </form>
    <form  >
    <button type="submit" class="button" >取消</button>
    </form>
</div>
</body>
<script>
    function datetime() {
        var now = new Date();
        document.getElementById("time").value = now.getFullYear() + "-"
            + (now.getMonth() + 1) + "-" + now.getDate();
        document.getElementById("time").value += " " + now.getHours() + ":"
            + now.getMinutes() + ":" + now.getSeconds();
    }
    window.setInterval("datetime()", 1000);
</script>


</html></html>